{*超期书籍列表页*}
{include file="../header.html" title="超期书籍列表"}

	<div id="main">
		<div id="main_title">您当前处于 
			<span class="weightFont">书籍管理</span> >> 
			<span class="softFont">
				超期书籍
			</span>
		</div>
		<div id="main_body">
			{if $bookList}
			<center>
				<form id="listForm">
					<table id="bookList" cellpadding="5" cellspacing="0">
						<tr>
							<th>图书号</th>
							<th>图书名</th>
							<th>借出时间</th>
							<th>截止时间</th>
							<th>借书者</th>
							<th class="wider">操作</th>
						</tr>
						{foreach $bookList as $book}
						<tr>
							<td>{$book['bid']}</td>
							<td>{$book['title']}</td>
							<td>{$book['begin_time']|date_format:"%Y-%m-%d"}</td>
							<td>{$book['end_time']|date_format:"%Y-%m-%d"}</td>
							<td>{$book['username']}</td>
							<td>
								<span class="sixinBtn" name="{$book['username']}">
									私信提醒
								</span>
							</td>
						</tr>
						{/foreach}
					</table>
					<input type="hidden" id="from" value="{$userInfo['userName']}" />
				</form>
				<!--翻页条-->
				{if $show_pageBox}
				<div class="pageDiv">{$pageBox}</div>
				{/if}
			</center>
			{else}
			<div class="noContent">暂无超期书籍</div>
			{/if}

			<!--私信编辑框-->
			<div class="popBox">
				<center>
				<form>
					<table cellpaddin="0" cellspacing="10">
						<thead class="thead">
							<td colspan="2">发送私信</td>
						</thead>
						<tr>
							<th><label for="sixin">内容:</label></th>
							<td>
								<textarea id="sixin"></textarea>
							</td>
						</tr>
					</table>
				</form>
				<div>
					<span class="submitBtn">提交</span>
					<span class="cancelBtn">取消</span>
				</div>
				</center>
			</div>

		</div>
	</div>

{include file="../footer.html"}